package com.fsm.template.mapper;

import com.fsm.template.dto.Field;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CreateTableMapper {
    @Select("SHOW FULL COLUMNS FROM ${tableName};")
    List<Field> selectColum(@Param(value = "tableName") String tableName);
}
